home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / business / cjpos549.zip / CJPOS.BAT < prev    next >
DOS Batch File  |  1996-08-23  |  636b  |  27 lines

  1. @ECHO OFF
  2. if exist *.MEM del *.MEM
  3. SET OVERLAY_HEAP=40
  4. CJ_START
  5. if exist CLOSED goto :backup
  6. :top
  7. CJPOS1
  8. if exist REFRESH. goto :top
  9. if exist EXIT. goto :exit
  10. CJPOS2
  11. if exist EXIT. goto :exit
  12. if exist CLOSED goto :backup
  13. goto :top
  14. :backup
  15. if exist *.OLD erase *.OLD
  16. if exist C:\CJPOSOLD.ZIP erase C:\CJPOSOLD.ZIP
  17. SET PKTMP=C:\
  18. PKZIP C:\CJPOSDBF *.DB? *.DAT *.TXT -rp
  19. if exist FLOPBACK. PKZIP -&f -rp A:\CJPOSDBF *.DB? *.DAT *.TXT
  20. if exist FLOPBACK. erase FLOPBACK. >nul
  21. del CLOSED. >nul
  22. :exit
  23. if exist EXIT. del EXIT. >nul
  24. if exist CLOSED. del CLOSED. >nul
  25. if exist workdata.dat del workdata.dat >nul
  26. @ECHO ON
  27.